%%db
-record(account,{id,name="",real_name="",acc_name="",acc_psw="",trade_psw="",create_time=0,last_login_time=0,last_logout_time=0,last_login_ip="",
				 all_online_time=0,login_status=0,money=0,coin=0,card=0,score=0,last_logs="",head_img=0,referee=0,sex=0,status=0,
				 status_start_time=0,status_length=0}).
-record(acc_login_log,{id,login_time,logout_time,acc_id,login_ip=""}).
-record(admin_log,{id,admin_id,time,event,event_data}).
-record(game_log,{id,game_start_time,game_finish_time,game_data}).
-record(item,{id,acc_id,type,num,create_time,last_time}).
-record(resource_log,{id,acc_id,type,num,way,way_data}).
-record(task,{id,acc_id,task,task_count,status,last_time}).
-record(group_info,{id,group_name=0,create_aid=0,state=0}).
-record(group_members,{id,group_id=0,accid=0,state=0}).
-record(friend_info,{id,aid1=0,aid2=0}).
-record(fighting_record_key,{id,fighting_record_id=0,aid=0}).
-record(fighting_record_info,{id,room_id=0,game_times=0,room_type=0,room_mode =0,under_score=0,last_times=0,player_record=""}).
-record(fighting_every_times_info,{id,fighting_record_id=0,inning=0,one_info ="",two_info="",three_info="",four_info="",five_info="",
								   six_info=""}).

-define(Tabs,
		[
		 [account | record_info(fields, account)],
		 [acc_login_log | record_info(fields, acc_login_log)],
		 [admin_log | record_info(fields, admin_log)],
		 [game_log | record_info(fields, game_log)],
		 [item | record_info(fields, item)],
		 [resource_log | record_info(fields, resource_log)],
		 [task | record_info(fields, task)],
		 [group_info| record_info(fields, group_info)],
		 [group_members| record_info(fields, group_members)]
		 ]).

-define(StartLoadList,
		[
		 account,
		 group_info,
		 group_members
		]).